package com.hongying.consumer;

import com.hongying.service.UserService;

import java.util.Arrays;

public class StaticStuff {


    static int x  =10;
    static {
        x += 5;
    }

    public static void main(String[] args) {
        new UserService() {
            @Override
            public String getName() {
                return null;
            }
        };
        new AbstractB() {
            @Override
            public void testA() {

            }
        };

        char[] arr = {'a','b'};
        System.out.println(arr.toString());
        System.out.println(new String(arr));
        System.out.println(Arrays.toString(arr));
        System.out.println(String.valueOf(arr));

    }
    static {
        x /= 3;
    }
}
